package com.itheima.io.writer.demo01;

import org.apache.commons.io.IOUtils;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class IOUtilsTest {

    public static void main(String[] args) throws IOException {

        IOUtils.copy(new FileInputStream("D:\\a.avi"), new FileOutputStream("D:\\ziliao\\a.avi"));

    }

}
